package com.james.service;

import com.james.domain.Food;
import com.james.domain.Order;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @ClassName: OrderService
 * @Author: JamesWang
 * @Date: 2021/4/22 14:19
 * @Description:
 * @Version:1.0
 */
public interface OrderService extends IService<Order> {

    /**
     * 下订单
     * @param food
     */
    void doOrder(Food food);

    /**
     * 用户取消订单
     * @param orderId
     */
    void cancelOrder(Long orderId);
}
